package com.bootdo.system.service;

import com.bootdo.system.domain.FrontuserDO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2021-02-04 11:46:52
 */
public interface FrontuserService {

    FrontuserDO get(Long userid);

    FrontuserDO getUserBytransferer(Integer transferer);

    List<FrontuserDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(FrontuserDO frontuser);

    int update(FrontuserDO frontuser);

    int remove(Long userid);

    int batchRemove(Long[] userids);

    FrontuserDO login(String username, String password);

    FrontuserDO getUserByPassword(String loginpass);

    FrontuserDO getUserByUsername(String username);

    FrontuserDO getUserByyaoqingma(String yaoqingma);

    FrontuserDO getUserByUsernameAndPhone(String username, String phone);

    void updateTimejian1();

    List<FrontuserDO> getUserZhituiList(Long userid);


    List<FrontuserDO> getUserShequiList(Long userid,List<FrontuserDO> result);

    void updateByUserIdAndpId(FrontuserDO frontuserDO);

    void UpdateZichanByAcccuntID(Long transferer, BigDecimal transactAmt);

    boolean judgeUser(Long userid);

    List<FrontuserDO> userListOrderId();
}
